package com.zx.service.impl;

import com.zx.mapper.UserMapper;
import com.zx.service.UserService;
import com.zx.vo.UserOrderVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<UserOrderVo> getAllUserProduct() {
        List<UserOrderVo> userProduct = userMapper.getAllUserProduct();
        return userProduct;
    }
}
